home *** CD-ROM | disk | FTP | other *** search
- class Thing {
- private String name;
- private String description;
-
- Thing(String aName, String aDescription) {
- this.name = aName;
- this.description = aDescription;
- }
-
- String getName() {
- return this.name;
- }
-
- void setName(String aName) {
- this.name = aName;
- }
-
- String getDescription() {
- return this.description;
- }
-
- void setDescription(String aDescription) {
- this.description = aDescription;
- }
- }
-